package com.eddie.jdbc.service;

import com.eddie.jdbc.dao.BaseDao;
import com.eddie.jdbc.entity.PetTypeVarietiesMappingEntity;

import java.util.Map;

/**
 * 
 *
 * @author Eddie
 * @email 1739263410@qq.com
 * @date 2022-03-03 17:57:21
 */
public interface PetTypeVarietiesMappingService extends BaseDao<PetTypeVarietiesMappingEntity> {

    /**
     * 通过宠物Id获得宠物的类型与品种映射Id
     * @param petId 宠物ID
     * @return 映射关系
     */
    PetTypeVarietiesMappingEntity getPetTypeVarietiesMapping(Long petId);
}

